import React, { Component } from 'react';
// 引入路由
import { BrowserRouter, NavLink, Route } from 'react-router-dom';

//引入头部
import Header from './header/index';
//引入中部
import Main from './main/index';

export default class Index extends Component {
  render() {
    return (
      <div>
        <BrowserRouter basename="build">
          <Header />
          <Main />
        </BrowserRouter>
      </div>
    );
  }
}
